/**
 * 选择会员
 * @param selectType 选择类型
 */
function selectMember(params) {
    parent.layer.open({
        type: 2,
        area: winArea,
        btn: ['选择', '取消'],
        content: baseloaction + "/admin/user/cus/selectMemberList?selectType="+params.selectType,
        maxmin: true,
        shade: [0.3, '#000'],
        shadeClose: false,
        title: '选择会员',
        yes: function (index, layero) {
            var _iframe = layero.find("iframe:visible");
            var iframeName = _iframe[0].name;
            var member = parent.frames[iframeName].getSelectMember();
            if (member) {
                var currentIframeName = contentMainIframeName();
                parent.frames[currentIframeName][params.callback](member);
                parent.layer.close(index);
            }
        }
    });
}